#pragma once
#include "ISingleton.h"
#include "Scene.h"
namespace Core
{
	namespace GameLogic
	{
		template<class Map>
		class TEvironment:public Core::Pattern::ISingleton<TEvironment<Map>,TScene<Map>>
		{
			TScene<Map>& m_scene;
		public:
			typedef TScene<Map> Scene;
			TEvironment(Scene& scene)
				:m_scene(scene)
			{
				
			}
			Scene& GetScene()
			{
				return m_scene;
			}
		};

	}
}